Making GtkCellLayout "no cell area yet" warning a g_critical instead.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Thu, 13 Jan 2011 14:02:34 +0000 (23:02 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Thu, 13 Jan 2011 14:02:34 +0000 (23:02 +0900)
gtk/gtkcelllayout.c

index d5bce4233b4f9884d314e86447bb45958ec8a76d..d56747c1c49b632d03ef8d9a638c83e45ba9eba5 100644 (file)
@@ -94,7 +94,7 @@
 #include "gtkintl.h"
 
 #define warn_no_cell_area(func)                                        \
-  g_warning ("%s: Called but no GtkCellArea is available yet", func)
+  g_critical ("%s: Called but no GtkCellArea is available yet", func)
 
 typedef GtkCellLayoutIface GtkCellLayoutInterface;
 G_DEFINE_INTERFACE (GtkCellLayout, gtk_cell_layout, G_TYPE_OBJECT);